export interface booksTemplateItem {
  tagList: Array<tag>;
  tempBackGround: string;
  tempName: string;
}

export interface tag {
  id?: number;
  icon: string;
  iconColor: null | string;
  name: string;
  type: "收入" | "支出";
  operateType?: 0 | 1 | 2 | 3; // 0-无操作 1-新增 2-编辑 3-删除
  defaultTag?: "默认"; // '默认' null
}

export interface book {
  bookName: string;
  icon: string;
  id?: number | unknown;
  incomeTotalAmount?: number;
  paymentTotalAmount?: number;
  recordNum?: number;
  monthStartDay?: number;
  tagVOList?: tag[];
  tagList?: tag[];
  defaultFlag?: 1 | null;
}
